package cn.edu.wfit.modules.infomanagement;

import cn.edu.wfit.common.security.annotation.EnableCustomConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableCustomConfig
@MapperScan("cn.edu.wfit.modules.infomanagement.mapper")
@EnableScheduling
@EnableTransactionManagement //开启注解方式的事务管理
public class InfoApplication {
    public static void main(String[] args) {
        SpringApplication.run(InfoApplication.class, args);
    }
}
